package com.cloudpolice.equipment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableEurekaClient
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.cloudpolice.equipment.dao")
public class EquipmentApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EquipmentApplication.class).web(WebApplicationType.SERVLET).run(args);
        System.out.println("http://localhost:2640/swagger-ui.html");
    }

}
